"""
URL configuration for hubei project.

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/4.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path

from App import views
app_name = 'app'
urlpatterns = [
    # path('admin/', admin.site.urls),
    path('',views.index,name='index'),
    path('natural/',views.natural,name='natural'),

    path('history/', views.history, name='history'),
    path('minsufengqing/', views.minsufengqing, name='minsufengqing'),

    #     特色美食
    path("food/",views.show_food,name="show_food"),
    path("register/",views.register, name="register"),
    path("login/", views.login_denglu, name="login"),
    path("logout/", views.user_logout, name="logout"),
    path("changyanyunge/", views.changyanyunge, name="changyanyunge"),
    path('guanyuwomen/', views.guanyuwomen, name='guanyuwomen'),
    path('lianxiwomen/', views.lianxiwomen, name='lianxiwomen'),
    path("detail/", views.article_detail, name="article_detail"),
    path("detail2/", views.article2_detail, name="article_detail2"),
    path("detail3/", views.article3_detail, name="article_detail3"),
    path("detail4/", views.article4_detail, name="article_detail4"),
    path("detail5/", views.article5_detail, name="article_detail5"),
    path("detail6/", views.article6_detail, name="article_detail6"),
    path("detail7/", views.article7_detail, name="article_detail7"),

    # path('', views.post_list, name='post_list'),
    # path('new/', views.post_new, name='post_new'),

]
